    {/*左侧菜单开始*/}
    {if ISPJAX != 1 }
    <aside class="main-sidebar">
        <section class="sidebar">
            <div class="user-panel">
                <div class="pull-left image"><img src="{:cookie('agentavatar')}" class="img-circle" ></div>
                <div class="pull-left info">
                    <p>{:cookie('agentname')}</p>
                    <a href="javascript:void(0);"><i class="fa fa-circle text-success"></i> {$Think.lang.online}</a>
                </div>
            </div>
            <ul class="sidebar-menu">
                <li class="header">{$Think.lang.menu}</li>
                {volist name="treeMenu" id="vo"}
                {if !isset($vo['level_2'])}
                <li><a href="{:url(MODULE_NAME.'/'.$vo.name)}"><i class="{$vo.icon}"></i><span>{$vo.title}</span></a></li>
                {/if}
                {if isset($vo['level_2'])}
                <li class="treeview">
                    <!-- 第一栏 -->
                    <a href="javascript:void(0);">
                        <i class="{$vo.icon}"></i><span>{$vo.title}</span>
                        <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
                    </a>
                    <!-- 第二级 -->
                    <ul class="treeview-menu">
                        {volist name="vo.level_2" id="v"}
                        {if !isset($v['level_3'])}
                        <li><a href="{:url(MODULE_NAME.'/'.$v.name)}"><i class="{$v.icon}"></i>{$v.title}</a></li>
                        {/if}
                        {if isset($v['level_3'])}
                        <li>
                            <a href="javascript:void(0);"><i class="{$v.icon}"></i> {$v.title}
                                <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
                            </a>
                            <ul class="treeview-menu">
                                {volist name="v.level_3" id="t"}
                                <li><a href="{:url(MODULE_NAME.'/'.$t.name)}"><i class="{$t.icon}"></i> {$t.title}</a></li>
                                {/volist}
                            </ul>
                        </li>
                        {/if}
                        {/volist}
                    </ul>
                </li>
                {/if}
                {/volist}
                <li class="treeview">
                    <a href="javascript:void(0);">
                        <i class="fa fa-code"></i><span>Code</span>
                        <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
                    </a>
                    <ul class="treeview-menu">
                        <li>
                            <a href="javascript:void(0);"><i class="fa fa-circle-o"></i> widget挂件
                                <span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>
                            </a>
                            <ul class="treeview-menu">
                                <li><a href="{:url('admin/demo/widgetInput')}"><i class="fa fa-circle-o"></i> Input挂件</a></li>
                                <li><a href="{:url('admin/demo/widgetSelect')}"><i class="fa fa-circle-o"></i> Select挂件</a></li>
                                <li><a href="{:url('admin/demo/widgetTextarea')}"><i class="fa fa-circle-o"></i> Textarea挂件</a></li>
                                <li><a href="{:url('admin/demo/widgetCheckbox')}"><i class="fa fa-circle-o"></i> Checkbox挂件</a></li>
                                <li><a href="{:url('admin/demo/widgetRadio')}"><i class="fa fa-circle-o"></i> Radio挂件</a></li>
                                <li><a href="{:url('admin/demo/widgetFileUpload')}"><i class="fa fa-circle-o"></i> FileUpload挂件</a></li>
                                <li><a href="{:url('admin/demo/widgetDate')}"><i class="fa fa-circle-o"></i> Date挂件</a></li>
                                <li><a href="{:url('admin/demo/widgetContent')}"><i class="fa fa-circle-o"></i> Content挂件</a></li>
                            </ul>
                        </li>
                    </ul>
                </li>
            </ul>
        </section>
    </aside>
    {/if}
    {/*左侧菜单结束*/}